import { Routes, Route } from 'react-router-dom'
import Class from '../pages/Class/Class'
import ClassOnline from '../pages/ClassOnline/ClassOnline'
import Index from '../pages/Index/Index'
function MainRouter() {
    return (
        <>
            <Routes>
                <Route path='/' element={<Index></Index>} />
                <Route path='/Class' element={<Class></Class>} />
                <Route path='/ClassOnline' element={<ClassOnline></ClassOnline>} />
            </Routes>
        </>
    )
}
export default MainRouter
